package exception_test;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Scanner;


public class IOExceptionTest {
    public static void main(String[] args) throws FileNotFoundException{
        File file = new File("test.txt");
        Scanner scanner = new Scanner(new FileInputStream(file));
    }
}